<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
      cursor: none;
    }

    .box {
      position: relative;
      margin: 50px auto;
      width: 600px;
      height: 600px;
      border: 10px solid black;
      overflow: hidden;
    }

    .tanke {
      position: absolute;
      top: 480px;
      left: 280px;
      width: 40px;
      height: 40px;
      background: url(./images/92034446ddc7a91edec038f2d69415fd.jpeg) no-repeat;
      background-size: 100%;
      transition: all .1s;
      border-radius: 50%;
    }

    li {

      width: 40px;
      height: 40px;
      background: url(./images/pngsucai_458696_551487.png) no-repeat;
      background-size: 100%;
      list-style: none;
      transition: all .5s;
      border-radius: 50%;
    }

    .active {
      transform: rotateY(180deg)
    }

    .one {
      position: absolute;
      left: 200px;
      top: 200px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: url(./images/pngsucai_512252_f77802.png) no-repeat;
      background-size: 120%;
    }



    .text {
      position: absolute;
      top: 50%;
      left: 300px;
    }

    .fenshu {
      font-size: 30px;
      position: absolute;
      top: 30%;
      left: 300px;
    }

    .defen {
      font-size: 30px;
      position: absolute;
      top: 40%;
      left: 300px;
    }
  </style>
</head>

<body>
  <div class="box">
    <div class="tanke">
    </div>
    <div class="one"></div>


  </div>
  <div class="text">键盘上下左右控制移动</div>
  <div class="fenshu">最高分</div>
  <div class="defen">得分</div>
  <script src="./贪吃蛇草稿.js"></script>
</body>

</html>